package com.fr.report;

import java.io.Serializable;

public class Margin
  implements Cloneable, Serializable
{
  private double top;
  private double left;
  private double bottom;
  private double right;

  public Margin()
  {
    this(0.0D, 0.0D, 0.0D, 0.0D);
  }

  public Margin(double paramDouble1, double paramDouble2, double paramDouble3, double paramDouble4)
  {
    setTop(paramDouble1);
    setLeft(paramDouble2);
    setBottom(paramDouble3);
    setRight(paramDouble4);
  }

  public double getTop()
  {
    return this.top;
  }

  public void setTop(double paramDouble)
  {
    this.top = paramDouble;
  }

  public double getLeft()
  {
    return this.left;
  }

  public void setLeft(double paramDouble)
  {
    this.left = paramDouble;
  }

  public double getBottom()
  {
    return this.bottom;
  }

  public void setBottom(double paramDouble)
  {
    this.bottom = paramDouble;
  }

  public double getRight()
  {
    return this.right;
  }

  public void setRight(double paramDouble)
  {
    this.right = paramDouble;
  }

  public boolean equals(Object paramObject)
  {
    if (!(paramObject instanceof Margin))
      return false;
    Margin localMargin = (Margin)paramObject;
    return ((getTop() == localMargin.getTop()) && (getLeft() == localMargin.getLeft()) && (getBottom() == localMargin.getBottom()) && (getRight() == localMargin.getRight()));
  }

  public Object clone()
    throws CloneNotSupportedException
  {
    return super.clone();
  }
}